#include "PluginLib/OcDyPublic.h"

ObserverDeri::ObserverDeri(BaseObserverType type, bool bAutoConnet)
:ObserverBase(type)
{
  if(bAutoConnet)
  {
    Add(type);
  }
}

ObserverDeri::~ObserverDeri(void)
{
  Del();
}

void ObserverDeri::Add(BaseObserverType type)
{
	ObserverBase::Add(g_pGenEventManger, type);
}

void ObserverDeri::Del()
{
	ObserverBase::Del(g_pGenEventManger);
}


HRESULT ObserverDeri::OnUpdate(void* pSender, LPARAM lHint, WPARAM wHint)
{


  return TRUE;  
}

